package com.goosuncc.gscc.sdk.command.response.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ViewUser {
	
	private Long id = null;
	/**
	 * @Fields uuid : 唯一标识，用来和其他表做关联
	 */
	private String uuid = "";

	/**
	 * @Fields loginName : 登陆名，唯一
	 */
	private String loginName = "";

	/**
	 * @Fields passwordChecksum : 密码的摘要
	 */
	private String passwordChecksum = "";

	/**
	 * @Fields nickName : 昵称
	 */
	private String nickName = "";

	/**
	 * @Fields deptUuid : 部门uuid
	 */
	private String deptUuid = "";
	
	/**
	 * @Fields deptName : 部门name
	 */
	private String deptName="";
	
	/**
	 * 角色名称
	 */
	private String roleName="";
	
	/**
	 * 角色UUID,这个是查询用的。
	 */
	private String roleUuid = "";
	
	/**
	 * roleUuidList这个是添加和修改，多角色。
	 */
	private String roleUuidList = "";
	
	/**
	 * 个人配置项
	 */
	private String config = "";

	/**
	 * @Fields timeStamp : 时间戳
	 */
	private Date tstamp = new Date(0);

	/**
	 * @Fields deleteFlag : 删除标记
	 */
	private Integer deleteFlag = 0;
	
	/**
	 * 是否要在rsmw同步此user
	 */
	private Boolean enableRsmw = false;
	
	/**
	 * @Fields 是否启用 
	 */
	private Boolean isEnable = true;

	/**
	 * @Fields userField : 用于扩展的字段，用户自定义，一般为json
	 */
	private String userfield = "";

	private String deptNodes = "";

	private List<Role> roleList = new ArrayList<>();
	
	private Long jobNumber = null;
	
	/**
	 * 在线状态
	 */
	private Boolean onlineState = false;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	
	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPasswordChecksum() {
		return passwordChecksum;
	}

	public void setPasswordChecksum(String passwordChecksum) {
		this.passwordChecksum = passwordChecksum;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getDeptUuid() {
		return deptUuid;
	}

	public void setDeptUuid(String deptUuid) {
		this.deptUuid = deptUuid;
	}

	public String getConfig() {
		return config;
	}

	public void setConfig(String config) {
		this.config = config;
	}

	public Date getTstamp() {
		return tstamp;
	}

	public void setTstamp(Date tstamp) {
		this.tstamp = tstamp;
	}

	public Integer getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public String getUserfield() {
		return userfield;
	}

	public void setUserfield(String userfield) {
		this.userfield = userfield;
	}

	public List<Role> getRoleList() {
		return roleList;
	}

	public void setRoleList(List<Role> roleList) {
		this.roleList = roleList;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRoleUuidList() {
		return roleUuidList;
	}

	public void setRoleUuidList(String roleUuidList) {
		this.roleUuidList = roleUuidList;
	}

	public String getRoleUuid() {
		return roleUuid;
	}

	public void setRoleUuid(String roleUuid) {
		this.roleUuid = roleUuid;
	}

	public void setIsEnable(Boolean isEnable) {
		this.isEnable = isEnable;
	}

	public Boolean getIsEnable() {
		return isEnable;
	}

	public String getDeptNodes() {
		return deptNodes;
	}

	public void setDeptNodes(String deptNodes) {
		this.deptNodes = deptNodes;
	}

	public Long getJobNumber() {
		return jobNumber;
	}

	public void setJobNumber(Long jobNumber) {
		this.jobNumber = jobNumber;
	}

	public Boolean getEnableRsmw() {
		return enableRsmw;
	}

	public void setEnableRsmw(Boolean enableRsmw) {
		this.enableRsmw = enableRsmw;
	}

    public Boolean getOnlineState() {
        return onlineState;
    }

    public void setOnlineState(Boolean onlineState) {
        this.onlineState = onlineState;
    }

		
}
